package com.shape.sdk;

import com.wandoujia.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by ouzhiyin on 18/01/2018.
 */

public class CourseUser implements Serializable, Cloneable {
  long userId;
  String name;
  String avatar;
  String deviceId;
  int age;
  int gender;
  int height;
  int weight;
  int position;
  int station;

  public long getUserId() {
    return userId;
  }

  public String getName() {
    return name;
  }

  public String getAvatar() {
    return avatar;
  }

  public int getAge() {
    return age;
  }

  public int getGender() {
    return gender;
  }

  public int getHeight() {
    return height;
  }

  public int getWeight() {
    return weight;
  }

  public CourseUser clone () {
    CourseUser courseUser;
    try {
      courseUser = (CourseUser) super.clone();
    } catch (CloneNotSupportedException e) {
      courseUser = new CourseUser();
    }
    courseUser.userId = this.userId;
    courseUser.name = this.name;
    courseUser.avatar = this.avatar;
    courseUser.deviceId = this.deviceId;
    courseUser.age = this.age;
    courseUser.gender = this.gender;
    courseUser.height = this.height;
    courseUser.weight = this.weight;
    return courseUser;
  }
}
